package com.xq.model.controller;

import com.xq.config.properties.MusicProperties;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 测试一下
 *
 * @author xu
 * 2021/8/4 9:45
 */
@RestController
public class TestController {
    @Resource
    private MusicProperties musicProperties;

    @GetMapping("/test")
    public MusicProperties test(){
        return musicProperties;
    }
}
